package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:25 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceConfigDAO
    extends IDataAccessInterface<WorkspaceConfig, WorkspaceConfigDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_CONFIG";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_CONFIG.ID";

  /** Mapped Field CONFIG_ITEM */
  static final String ConfigItem = "WORKSPACE_CONFIG.CONFIG_ITEM";

  /** Mapped Field DESCRIPTION */
  static final String Description = "WORKSPACE_CONFIG.DESCRIPTION";

  /** Mapped Field PARENT_CONFIG_ID */
  static final String ParentConfigId = "WORKSPACE_CONFIG.PARENT_CONFIG_ID";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_CONFIG.STATUS";

  /** Mapped Field CONFIG_FORM */
  static final String ConfigForm = "WORKSPACE_CONFIG.CONFIG_FORM";

  /** Mapped Field CONFIG_NAME */
  static final String ConfigName = "WORKSPACE_CONFIG.CONFIG_NAME";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute configItem */
    static final String ConfigItem = "configItem";

    /** Attribute description */
    static final String Description = "description";

    /** Attribute parentConfigId */
    static final String ParentConfigId = "parentConfigId";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute configName */
    static final String ConfigName = "configName";

    /** Attribute configForm */
    static final String ConfigForm = "configForm";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceConfig findById(final long id) throws Exception;
}
